package com.ethink.framework.common.validate.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 业务配置
 *
 * @author yunduo
 */
@Data
@Component
@ConfigurationProperties(prefix = "semir.framework.validate")
public class ValidateProperties {

    /**
     * 邮箱正则
     */
    private String emailPattern;

    /**
     * 手机号正则
     */
    private String mobilePattern;
}
